Release 10.1A: OpenEdge Development:
Messaging and ESB
Publishing with a reply handle, subscribing, and receiving an automatic reply
The procedures example5.p, example6.p (1 of 2), and example7.p illustrate publishing with a reply handle and receiving an automatic reply. The procedure example5.p subscribes with an automatic reply mechanism. It can only reply to messages that have the
JMSReplyToheader field. The procedureexample6.p (1 of 2) subscribes with explicit reply by calling the publish procedure directly. It can only reply to messages that have theJMSReplyToheader field. The procedure example7.p publishes using the requestReply procedure for receiving reply messages from subscribers. It populates theJMSReplyToheader field automatically.
![]()
To run example5.p, example6.p and example7.p:
- Run example5.p so the subscriber is running before you publish, as shown:
- Run example6.p (1 of 2) to subscribe with explicit reply by calling the publish procedure directly, as shown:
- Run example7.p to publish using the requestReply procedure for receiving reply messages from subscribers. It populates the
JMSReplyToheader field automatically, as shown:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |